package itsm.isperp.module.repository.app;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.app.AppPortalRole;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 
 * 门户
 * 
 * @author lizx
 * @date 2014-2-24
 * 
 */
@Repository
public interface AppPortalRoleMapper extends CUDMapper<AppPortalRole> {

	List<String> findRolesByPortalId(@Param("appPortalId") String appPortalId);

	void deleteByPortalId(@Param("appPortalId") String appPortalId);


}
